package 复习;

public abstract class Observable extends AbstractRole {
    /**要被装饰的对象 **/
    private AbstractRole abstractRole;

    public Observable(AbstractRole abstractRole){
        this.abstractRole=abstractRole;
    }

    public AbstractRole getAbstractRole() {
        return abstractRole;
    }

    public void setAbstractRole(AbstractRole abstractRole) {
        this.abstractRole = abstractRole;
    }
}
